package message.mapper;


import message.model.Friendmap;
import message.model.FriendmapExample;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface FriendmapMapper {
    int countByExample(FriendmapExample example);

    int deleteByExample(FriendmapExample example);

    int deleteByPrimaryKey(Integer friendmapid);

    int insert(Friendmap record);

    int insertSelective(Friendmap record);
    
    List<Friendmap> selectByExample(FriendmapExample example);
    
    int selectStateByExample(FriendmapExample example);
    
    int selectCountFriend(Integer userid);
    
    Friendmap selectByPrimaryKey(Integer friendmapid);
    
    int updateByExampleSelective(@Param("record") Friendmap record, @Param("example") FriendmapExample example);

    int updateByExample(@Param("record") Friendmap record, @Param("example") FriendmapExample example);

    int updateByPrimaryKeySelective(Friendmap record);

    int updateByPrimaryKey(Friendmap record);
}